How to do text classification using Naïve Bayes Classifier